@import './common';

* {
  margin: 0;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
}

a:hover {
  text-decoration: none;
}

body {
  min-width: 1226px;

  header {
    border-bottom: 3px solid #ff6700;

    .nav1 {
      background-color: #fff;
      height: 102px;

      .nav-wrapper {
        .logo {
          margin-right: 42px;
          background-color: #FF6B00;
          width: 55px;
          height: 55px;
          overflow: hidden;

          img {
            width: 100%;
            height: 100%;
          }
        }

        .shopping {
          display: flex;
          justify-content: flex-start;
          align-items: center;

          >p:first-child {
            margin-right: 20px;
            margin-bottom: 0;
            line-height: 48px;
            font-size: 28px;
            font-weight: 400;
            color: #424242;
          }

          >p:last-child {
            margin-top: 16px;
          }
        }

        .list {
          margin-left: 460px;

          >ul {
            >li {
              padding: 0 10px;
              background-color: #fff;

              &:hover .box {
                box-shadow: 0 0 5px 1px #90d7e094;
              }
            }

            &::after {
              position: absolute;
              right: 0;
              top: 13px;
              content: '';
              display: block;
              width: 2px;
              height: 13px;
              background-color: #cec4c4;
            }

          }

        }

        .order {
          >a {
            font-size: 12px;
            color: #b0b0b0;
            padding: 0 10px;
            text-align: center;
            width: 70px;

            &:hover {
              cursor: pointer;
              color: #ff6700;
            }

          }
        }
      }
    }
  }

  .main {
    padding: 38px 0;
    background: #f5f5f5;

    .content {
      width: 1226px;
      margin: 0 auto;

      .car {
        background-color: #fff;

        .title {
          height: 70px;
          line-height: 70px;

          >.kuang {
            margin-right: 10px;
            display: inline-block;
            border: 1px solid #cec4c4;
            width: 20px;
            height: 20px;
            font-size: 20px;
            margin-left: 24px;
            line-height: 20px;
            text-align: center;
            vertical-align: middle;
            cursor: pointer;

            >i {
              display: none;
              height: 18px;
              line-height: 18px;
              vertical-align: middle;
            }

            &:hover>i {
              display: inline;
            }

            &:focus {
              display: inline;
              color: #fff;
              border-color: #ff6700;
              background-color: #ff6700;
            }
          }

          >span {
            font-size: 14px;
            color: #424242;
          }

          >span:nth-of-type(2) {
            padding-right: 128px;
          }

          >span:nth-of-type(3) {
            padding-right: 380px;
          }

          >span:nth-of-type(4) {
            padding-right: 125px;
          }

          >span:nth-of-type(5) {
            padding-right: 153px;
          }

          >span:nth-of-type(6) {
            padding-right: 80px;
          }
        }

        .car-item {
          display: flex;
          justify-content: flex-start;
          align-items: center;
          padding: 15px 26px 15px 0;
          border-top: 1px solid #e0e0e0;

          >.kuang {
            margin-right: 57px;
            display: inline-block;
            border: 1px solid #cec4c4;
            width: 20px;
            height: 20px;
            font-size: 20px;
            margin-left: 24px;
            line-height: 20px;
            text-align: center;
            vertical-align: middle;
            cursor: pointer;

            >i {
              display: none;
              height: 18px;
              line-height: 18px;
              vertical-align: middle;
            }

            &:hover>i {
              display: inline;
            }

            &:focus {
              display: inline;
              color: #fff;
              border-color: #ff6700;
              background-color: #ff6700;
            }
          }

          .pic {
            width: 80px;
            height: 80px;
            padding-right: 40px;
            overflow: hidden;

            >img {
              width: 100%;
              height: 100%;
            }
          }

          .name {
            width: 384px;
            font-size: 18px;
          }

          .price {
            font-size: 16px;
            width: 140px;
            padding-right: 29px;
            text-align: center;
            color: #424242;
          }

          .number {
            margin-right: 110px;
            padding: 0 10px;
            border: 1px solid #cec4c4;
            height: 40px;
            line-height: 40px;

            >span {
              text-align: center;
              display: inline-block;
              width: 20px;
              height: 40px;
            }

            .center {
              width: 50px;
            }
          }

          .all-price {
            margin-right: 90px;
            color: #ff6700;
          }

        }
      }

    }


    .foot {
      width: 1226px;
      margin: 0 auto;

      .foot-up {
        >ul {
          width: 100%;
          display: flex;
          justify-content: space-evenly;
          padding: 27px 0;
          border-bottom: 1px solid #e0e0e0;

          >li {
            flex: 0 0 20%;
            text-align: center;
            border-left: 1px solid #e0e0e0;
            font-size: 16px;
            line-height: 25px;
            height: 25px;

            >a {
              width: 100%;
              color: #616161;
              height: 25px;
              line-height: 25px;

              >i {
                font-size: 25px;
                vertical-align: bottom;
              }
            }
          }

          >li:first-child {
            border-left: none;
          }
        }
      }

      .foot-down {
        padding: 40px 0;
        display: flex;
        justify-content: space-between;

        .left {
          width: 960px;

          >ul {
            display: flex;
            justify-content: flex-start;

            >li {
              width: 160px;

              >p:first-child {
                margin: 0 0 26px;
                font-size: 14px;
                color: #424242;
              }

              p:not(:first-child) {
                margin: 10px 0 0;
                font-size: 12px;
                color: #757575;
              }
            }
          }
        }

        .right {
          width: 251px;
          text-align: center;
          border-left: 1px solid #e0e0e0;

          >p {
            margin: 0 0 5px 0;
          }

          .phone {
            font-size: 22px;
            line-height: 1;
            color: #ff6700;
          }

          .time {
            font-size: 12px;
            line-height: 18px;

          }

          .people {
            padding: 5px 15px;
            border: 1px solid #ff6700;
            background: #fff;
            color: #ff6700;
            outline: none;
          }

          .contact {
            font-size: 12px;
            margin-top: 10px;
            text-align: center;
            color: #616161;
          }
        }
      }
    }
  }
}